Fixed negative pages

Was producing negative page links.