Fixed addGroupToEvent bug, finished.