Convert html_safe to double equals so that it doesn't fail on nil values