fix check_download_if_category_is_important