FIX: ensures group_ids are not "" or nil (PR #39)

GitHub