Add Has Parent to Query