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.
Merge pull request #97 from iNecas/fix-event-passing

Fix passing event objects with `to_a` method defined