handle nil patched_versions in html template