See the discussion in #1. The commit slizzered@459d61a was sufficient to fix it, which seems weird to me.
Considering that we use toArray() at another location, it might be good to investigate (or just remove the method entirely).
Adding this to the 1.6 Milestone, since it can probably be closed once there is no more ConstHybridVector. If we still use some form of ConstHybridVector, it would be good to double-check this issue.