Added comparing request url to canonical to disable printing

Disabled rendering canonical if request url matches canonical url to prevent recursive canonical redirect