corrected blank result handling when parsing a successful query