Fix broken dependency in search case caused by previous commit