fix bugs in media_source_tags and media_sets fields