Fixes #15543 - External method to search fact's hostgroup
(cherry picked from commit 5ce4c4c51917fdcf377fb168157a099108e5557f)
Fixes #15543 - External method to search fact's hostgroup
(cherry picked from commit 5ce4c4c51917fdcf377fb168157a099108e5557f)