Fixed boolean evaluation for metric and download.