integrated deleteOldTriggersRaw2_0() and deleteOldFunctionsRaw2_0() as deleteOldReplicatedItems().