Handle boolean values in the boolean() function.
Support for the XPath "and" operator.