Fixed bug in controller regarding successful upload status for both bam file and bai.