Removing unnecessary limitation which would have limited validation
of arrays to ObjectID types only instead of any valid data type.