Prevent "Notice: Undefined index" in wfDiff