wondering if moving this condition to the cmf_media_display_url twig function would be a good idea.