if a `{% for %}` loop doesn't iterate (i.e., is empty), then the wrapping `{% if %}` is unneeded