Fixed an issue where using JSON schema validation (draft 3) with the `extends` property would lead to validation always failing.