RavenDB-2662 When no database is selected, the top links don't work