ref #7810 Fix creation of local specimen preferences