Search suggestions seemed broken due to an undefined variable

Signed-off-by: emanuele <emanuele45@gmail.com>