Added support for removing specific values from a metadata elements array.