Fix ul and ol helpers

Not testing for missing data in the ul and ol helpers causes the template to not render. This change fixes it.