[FIX] use inner join to avoid null id's in read_group