Fixed errors with validation.

I don't know how this was ever working properly. :/
Merge branch 'master' of github.com:numenta/nupic.tools into post-validation-fix
Merge pull request #91 from rhyolight/post-validation-fix

Fixed errors with validation.