Error message of previous query should not be shown