Fixing Validator to correctly trim array when @max and @fix attributes are used for an array parameter