SSP-1952 Fix SQLServer upsert counts