bug fix for recode_polyploids and monomorphic loci