Merge pull request #3248 from junmendoza/defectfix

Fix imperative ifnode ast comparison