fixed incorrect work with validations
Merge pull request #1 from edg3r/master

Looks good, thank you! :+1: