Added a handler to iterate through the list of SQL queries to validate. refs #454