Made some adjustments to the getByEventId method.