diff --git a/web/pgadmin/static/js/backform.pgadmin.js b/web/pgadmin/static/js/backform.pgadmin.js
index 7da721a9..3bd5a95b 100644
--- a/web/pgadmin/static/js/backform.pgadmin.js
+++ b/web/pgadmin/static/js/backform.pgadmin.js
@@ -1849,7 +1849,8 @@ define([
     },
     toRaw: function(formattedData) {
       if (_.isArray(formattedData)) {
-        return _.map(formattedData, decodeURIComponent);
+        let tmpArr = _.map(formattedData, encodeURIComponent);
+        return _.map(tmpArr, decodeURIComponent);
       } else {
         if (!_.isNull(formattedData) && !_.isUndefined(formattedData)) {
           return decodeURIComponent(formattedData);
