Fix wrong attribute in Error tasks in CheckDebProperties.