Fixed a small bug when searching. Needed to default the page to 1 after rendering the data