Fix possible bug with PagePermissionTester