Fix byPrimaryKey problem.