Improved db_pager query parsing (fixed error in Sales Quotation Inquiry)