Fixes search page after refactor