Fix case when transforming db option.