Keep undefined values for the array type

This allows mongodb update to not override existing array values