using the iterator to remove activity infos that are already completed
Authored by: kaddoura 2014-11-28
Parent: [r31335]
Child: [r31337]