added validation_status_id in the list of vars that generate the sql filtering criteria