Fixing logic for the edit form if no groups exist.
Fixing logic for the edit form if no groups exist.

Gh-27

meatcar/frontend,yetixxx83/frontend,Yetangitu/frontend,Yetangitu/frontend,mrzen/trovebox,EMarcais/frontend,meatcar/frontend,EMarcais/frontend,photo/frontend,yetixxx83/frontend,Yetangitu/frontend,photo/frontend,ashwingj/frontend,miketaylr/frontend,ashwingj/frontend,yetixxx83/frontend,EMarcais/frontend,yetixxx83/frontend,photo/frontend,EMarcais/frontend,unhosted/openphoto,miketaylr/frontend,ashwingj/frontend,unhosted/openphoto,mrzen/trovebox,mrzen/trovebox,meatcar/frontend,miketaylr/frontend,mrzen/trovebox,photo/frontend,meatcar/frontend,Yetangitu/frontend,unhosted/openphoto,ashwingj/frontend