Fix a managedObject for Location