-Bug fix : The search feature was giving weird result

Signed-off-by: Mario <mariojothy@gmail.com>