Fixed the issue with empty gender and date in the register form