Finished loading text is displayed even when there is only 1 page in pagination