Fix issue with entry counts.