Fixed bug in manual validator reset function