Fixes #12936 - Host inherits attributes when hostgroup is AR object
(cherry picked from commit d7110d54ad51a85eadde8283606e88cf01de8b19)
Fixes #12936 - Host inherits attributes when hostgroup is AR object
(cherry picked from commit d7110d54ad51a85eadde8283606e88cf01de8b19)