Fixed a bug with the propertyChangeListeners for arrays