Fix not using the user in the search.

Signed-off-by: Aron Cedercrantz <aron@cedercrantz.se>