RavenDB-1853 Proper selection of database to delete