Try to restore previous search engine after model reset, fixes #120