Fixed nil return from layoutAttributesForElementsInRect resulting in all cells being removed.