Fixing a bug where it was unable to handle aliased pages.