fix for typo in boolean expression type checking in NoPLc