Fixed bug with pagex mapping to x-1.