Reset groupBy properly

If you did a groupBy then something else such as an Update everything went kaboom.

Fixed the line.