Fix the frontpage detection for J2.5