GTNPORTAL-2825

 fix issue where the last expression is read when the logical expression should have already failed.