switched upload encryption condition to respect default False value