Re #1646 Checking whether the translation contains an error message.
Re #1633 Adding initial query parser to normalize simple boolean cases.