Fixed a few bugs with invitations and displaying events.