fixes #2360 loading parameters on host edit form when hostgroup or environment is changed