FindBoost: Revert "Simplify search in lists."
Revert !750 (merged). It regressed the module by exposing issue #17257, but the fix for that issue is not suitable for inclusion in a patch release. It is simplest to revert the commit until the larger problem can be addressed.
Fixes: #17252 (closed)