Fix hardcoded primary key name