fix potential problem with suggestions when active database is gone.