Fix boolean hierarchy flag