constrain the amount of levels the query looks in