Fix for issue 6

https://github.com/fge/json-schema-core/issues/6