Fixes the broken search filter