Feature/event expiration

We can't just do a straight comparison, it wasn't compiling as mentioned in https://github.com/cssu/cssu.cdf.toronto.edu/commit/776f77199193be0bc9e0f348bab7448708de2137