[ticket/11151] Start page will be positive

Use `max()` function instead. `request_var` will return an integer
always.