Fix a primary field add problem.