Fixed bug in foxsi_dem_loci