Fixed a bug that prevented adding an user to the administrator group.