[#49203551] Fixed allow without maxPages index