Fixed bug introduced when resetting event data structure. Belongs to #25.