Fix bug with nested arrays.