Fix bug with ignored values in array destructuring