Fixed duplicate key insert