TEIIDDES-1614: Restores original correct if statement for post resolving

* This statement had to be updated in the TransformationValidator due to
  changing API of Teiid 8.2. Consequently, its new implementation broke
  the resolution of projected symbols. This restores the original
  functionality necessary in 7.7.x