Fixed a logic error when setting page title fallbacks