Fix bug preventing indexed Metropolis sampling being used for non-reinfection models