Modify course_get_assets to return only one copy of each asset