Fix an exception thrown when opening the SelectDatabaseForm without a worlddatabase being initialized