Fix passing event objects with `to_a` method defined

When event object implemented a `to_a` method (for example Algebrick product),
it got expanded not to one event object, but to its array representation.