[BUGFIX beta] link-to, bound helper issues with arrays of primitives

/cc @kselden

Fixes #3342. Fixes #3429.