Cherry pick fix for start/end dates in ES from 2.x. Fixes issue #6218
Fix advanced search boolean query, fixes #6268
Fix some filters in advanced search

- Fix media type process field
- Fix how material type is added to ES

Fixes #6295
Add all material types to ES, fixes #6295