Fixed IndexOutOfBoundsException that occured in DiaryListFragment when
the header was clicked.