Adds page identifier to canonical_uri in certain situations when not present