fixed bug with hierarchy operators