Only select the correct amount of data on initial load