Only do this query if custom_page fails.