Tidy up of the QueryCtrl removing console logs