Remove useless output for result.
Bug fix for query in result page.