Fix for collection validation of objects
Merge pull request #276 from shenrie/master

Fix for collection validation of objects