Fix to avoid downloading the same file twice