Khushal: Fixed a visualization query bug