Registration Bugfix

Fixed a bug when selecting a department on the registration page.