Prevent "Notice: Undefined index" in wfDiff

Change-Id: I4cc7d10021a114a2035dd2d9274c2340242800cb