Reproduce exception that prevents expired events

This reproduces the exception from #338