Fixed printing queries whenever
* src/modules/sniffer/database_sniffer.py
  -- Only print the queries if they're viewing