Fix for `properties` key with inheritance in `type`