Added exception about primary key