fix bug that prevented editing work commitments