Allow patternProperties to work properly.
Merge pull request #43 from seomoz/fix-pattern-properties

Allow patternProperties to work properly.