handling of empty grouped data frames was in the way of lazy grouped data frames. using nrows() == 0 as the test for emptyness of groups now