Fix bug in page limit facility.