Contact editing bugfix.