Fix situation where search text is not found