Default to page 1 if type conversion fails

This prevents a HTTP 500 when a non-numeric `page` number is supplied as a GET parameter.