Fixes database names for multi-servers