Fixed issues with adding rare events.