Fix download buttons to only appear when downloads are available