Fixed a bug where the app might crash if there are no sections when scrolling to the bottom of the list.