fixes #2263 search Hostgroup by label
fix STI host error in mysql and sqlite