Metadata Measures: Improve robustness by removing empties when parsing filter and fields to