Main window: Highlight search that makes Whoosh raises an exception

Signed-off-by: Jerome Flesch <jflesch@gmail.com>