fixes #3596 - validation error when user with hostgroup subscription creates a new hostgroup
(cherry picked from commit de7cb88710f028bc33ae9257d185abf0b73554d5)
fixes #3596 - validation error when user with hostgroup subscription creates a new hostgroup
(cherry picked from commit de7cb88710f028bc33ae9257d185abf0b73554d5)