Added some basic validation
Removed chaining for groupBy

- It's more useful to return the type safe
  values for value selection