MDL-44366 rework glossary filter caching