Fixes minior issue in editing a registration.