Would it be possible to put this 'query string parameter aware-ness' inside the .convert_legacy_static_url_with_course_id rather than the replace_static_url? It seems generic enough to be useful other places.