Make url_like work properly, by converting the current url to a string.