#386 Primary keys are now created in such a way that they remove non unique duplicate entries