Re-introduced support for single BAM case.