Fixed CollectAccumulatedWrites return value.