Schema validation against "maximum" and "minimum" can only take place on numbers

Found an issue with schema validation.
Validating this JSON:

{"id": 1, "type_id": null, "name": null}

against this schema:

{
"type":"object",
"properties":{
	"id":{"type": "integer", "minimum": 1},
	"type_id":{"type": ["integer", "null"], "minimum": 1},
	"name":{"type": ["string", "null"], "maxLength": 5},
	},
"additionalProperties" : false
}

fails on "type_id", when it shouldn’t.

My fix solves this issue.