This takes advantage of the new model method to get the content object's URL.  The result should be more accurate, especially when the content object has been deleted.