Removes unnecessary calls to mb_strtolower