Initiate the loop before the title is called on pages. Failing to do so causes checks that run on the loop's status to fail.