Fixed form validation incorrectly checking hidden forms