Minor fix to changeDBNames().