Attempt to patch counter cache bug.