Fix primary key naming error