Fixed a non-handled case when a projection appeared as a child of a join node