GTNPORTAL-2825

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