cleaner handling of read groups