Fixes task editing.