Fix bug for incidence-based analysis - reported by Jeanneret