Make CompoundEvent work with Array