Invalid error message for minProperties

Instead of number, `undefined` value is returned because of copy&paste bug :)
Merge pull request #2 from lobodpav/patch-1

Invalid error message for minProperties