Minor bugfix in BAM Converter