Fixes #647 registration form submission bug

Debug left over