test(search): Correct test condition (refs #4993)
Merge pull request #1291 from Eric-Brison/3.2-I4993

test(search): Correct test condition (fixes #4993)