Fixing a 'bug' where item counts are not refreshed by reindexing a collection