Adding a check to see if 0 bams are available for alignment, if so no need to schedule