Fix initialization of the array when multiple elements are watched.