Fixed catagory links
Updated to fix broken link when no catagory.