Fix nested projection

Projections were being compiled in reverse, so `tmp0.left.right` was being compiled to `tmp0.right.left`.