Fixed a groupby on strings