Fix bug which causes editing a registration to cause it to take on the editors gender.