Make EntityPerPageBuilder skip redirect pages.

Bug: 66581
Change-Id: I2ca03ca8431af9624ca441ac594b9e2d87e604bc
Merge "Make EntityPerPageBuilder skip redirect pages."