Fix for issue #101

This fixes the problem of an attribute containing an array passing a null value to the validator.