Fixed the issue of users not being able to view many pages.