Fixed broken FKs.
Fixed issues with test for seeing if location has been set. Glaucoma clinic now uses correct location per patient.