Error on editing calendar entries