fixes #2732 - 404 error Location Not Found on Mismatches Report if a location is selected
(cherry picked from commit e75ffa1d19586969f799a1b5a7ec0473ec8933cc)
fixes #2734 - wrong taxonomy scope on hostgroup and host form
(cherry picked from commit 01122c8be7115fb6c5baf7db9c8a140abda17df3)