They should learn about bloom filters. Could kill two birds with one stone, fix leaking the preferences via the swipe list and fix the ever growing query problem.
Bloom filters really need to be more present in today’s technology landscape. They’re like magic for certain problems. I believe they have much wider uses than the current subset they’re relegated to.