fix bug for optional fields
Merge branch 'master' of github.com:segmentio/validate-form