Fix status bar display of records for select queries in query window