Fixed a dumb error where getEvents was checking the begin/end vs
dataArray.size().
Updated plan.