Added filter to ModList, DoubleModList, and PartitionedDoubleModList.