Fix problem in cells recycling when the list is categorized.