set refHistory to a reference to (flattened tasks where (in inbox = false and its modification date > dteHistory))