Fixed a few bugs with qstat_mon