Catch page out of range

This fix makes sure that if the user inputs a page number that is out of range that it's cought and is instead is treated as if the user is requesting page 0