Fix default database bug. Discovered when synchronization tests were refactored.