Make the search working

Signed-off-by: Umair Khan <omerjerk@gmail.com>