Fix bug with negative of a grouping