SqlConnector duplicate keys fix