Fixed #540: ORA-00900: invalid SQL statement - bug in the parser