Fixed bug with editing contacts.