Fixed minor bug in count of queries run
fixed minor bug in InputChecked