Fix problems with filter in search mode after the the rescan