Fix for issue #57 - handle non boolean operands for logical && and || operators.