fixes #4637 - remove search by label from all ancestry objects besides hostgroups