fixes #5809 - don't show parent location/organization/hostgroup select box if zero or one location/organization/hostgroup