Changed type of threshold variable in ActivityBasedDeletionStrategy class.