Fixed bug in edit person.