[server][DBClientHatohol] Don't perform a join with the host group table when it's not needed.