Fix search test

:Release Notes:
Fix regression in search logic

:Detailed Notes:

:Testing Performed:
Compiled and tested localy.

:QA Notes:

:Issues Addressed:

Open-webOS-DCO-1.0-Signed-off-by: Maksym Sditanov <maxim.sditanov@lge.com>

Change-Id: I5c6302eec087c2d67c57e1f07a56b56760ee7eae
Reviewed-on: https://g2g.palm.com/5146
Reviewed-by: DCO Verification
Tested-by: Maksym Sditanov <maxim.sditanov@lge.com>
Reviewed-by: Igor Kuksyuk <igor.kuksiuk@lge.com>
Reviewed-by: Maksym Sditanov <maxim.sditanov@lge.com>