Enforced a maximum chain length condition again because an infinite loop is created when it's removed. Used the 99th percentile (71) of number of activities per chain for national population.
Authored by: smeintjes 2014-11-26
Parent: [r31244]
Child: [r31246]