Fix loading database keys.