correctly handle readgroups with id==0
Merge pull request #1 from bpow/master

Correctly handle readgroups with ID of 0