Won't this cause crashes in the event object isn't an array?