Completely disable the query when the print is active.