Bug fix: don't complain about duplicate primary fields