Fixed tw_event_send() to check for out of bounds event sends.