Fixed bug when none of the replicates have data