fixed custom filter bug with arrays #9

Wrote "nested property" test case in properties.js and modified lib/schema.js to fixed filter bug.
can you put this on the same line as the close bracket paren pls