Fix error mask.

When a function gives an Exception that is not based upon MongoKitError,
the validator should not capture this Exception. Like an IndexError, it
should not be captured.