Fixed crash in demo app if sectionsCount == 0