Fixed an issue with the add-device-form if no groups exist in the database