Prevented searches from using negative page numbers