FIx for SDB Overwriting when using -n option

Fix verified tested and working.  fixes the issue of duplicate key value pairs in simpledb