Fix exception when user update share with nothing changed