DB Search bug fix

Signed-off-by: Sampath Liyanage <plbsam@gmail.com>
test failure fixed

Signed-off-by: Sampath Liyanage <plbsam@gmail.com>
Merge pull request #976 from sampathLiyanage/bugfixdbsearch

DB Search bug fix #4299
Translated using Weblate (Spanish)

Currently translated at 100.0% (2749 of 2749)
Merge remote-tracking branch 'origin/QA_4_1' into QA_4_1
ChangeLog entry

Signed-off-by: Marc Delisle <marc@infomarc.info>
Merge commit '431c2ad'
Merge commit '5f93f45'
Merge commit '9b7fccd'
Merge branch 'QA_4_1'