Bug fix with edit counts