Fixed warning about non-unique bam names, it's logic was backwards.