Fixes .nth() with groupby multiple columns