Failing test for #394
Fix for #394
Merge pull request #395 from AydinHassan/bugs/unique-validator-obj-array-cast

Issue with objects being cast to array in validators