Added fix for nil value in <a> tag