Fixing issue with when to set upper() values in param columns