Avoid dividing by 0

Had a fun error message when a user passed in `per_page=0`.
Good call. Changed it.