Fixed getReaderIndex() handling of $group