VE-739 Match in middle of text when searching for categories

Adding to my previous comment - yeah, I still don't see why that approach wouldn't still be valid - and I think it would simplify the code significantly - no need to modify getLookupCacheItemFromData and formatAsQueryData