search: Fix behavior when search isn't loaded