fixed grouping off by one error for representative hit
Merge pull request #351 from paczian/master

representative hit grouping error