Small bug fix in validate handler.
Merge pull request #128 from rhyolight/handler-bug-fix

Small bug fix in validate handler.