After Validation redirection fixed.

Fixed the error in the validation, when it has no errors and the browser
no redirects to the next page.