If __clone() is not an available function in a PHP instance, simply clon...

...ing the $occurrence into $occurrence_end will not work. This was causing the EndDate not to update when updating an event post's StartDate, causing events to prematurely end before their time.