The naming of this function implies that it will correct for a page number lower than -1? Maybe change to 1 if less than 1, instead of throwing an error?