All conditions are met and the code is working fine. What is wrong with the validator?