HPCC-12346 Control:resetquerystats is not resetting counts

Also fixes HPCC-12344 Give error if control:resetquerystats given invalid id