Fix canonical url for those ending with slash