Fix Concurrency Bug in Pivot