Bug fixes on downloading deleted charts