Fix for first pages now possibly being nil.