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