Add better way of dealing with empty hrefs.