Bug fix in the local database finder.