Fix database names.