Bug fix

Fixed a bug that occurs when the last monitor has only 1 genotype