Fixes bug causing saveAsEvents from getting caught multiple times.