version 2 of 'delete after time' with some better past-time logic