Updated to work with structure url_title

Now works with a different structure url_title to the native url_title, if they have been set to different URLs