Fixed primary key problem.