Modifying database. It had ID fields wrongly defined.