Fix the failing SearchAction test in v.4 and v.5

Title says it all.

Please review.