Fixed share counting issue.