Post validation

WHERE queries fields cannot be checked until after parsing, so we are checking its validity afterward.