fixed grouping off by one error for representative hit