Fixed bug where chart becomes empty when going back to All events