fixed pruning of "not valid anymore" downloads