Fix the join order of NodeSchema for failed join query tests