Remove redundant 'show' when query is submitted.