[FIX] Bugzilla bugs 17897 and 18097

Raised as Bug 18097 in Bugzilla.

Previously after the call to PushRange() the collection size was unchanged as the Interlocked.Add() updated the parameter value not the member as was intended.