Bugfix for coercion of multi-dimensional arrays