mod/taskchain fix white page error when updating conditions on Edit tasks page