Fix alias handling of get_content_id (#9712)