Refactors for is_read_length_consistent_for_batch