diff --git a/main/webapp/modules/core/scripts/dialogs/clustering-dialog.js b/main/webapp/modules/core/scripts/dialogs/clustering-dialog.js
index c85f4249e..997af721a 100644
--- a/main/webapp/modules/core/scripts/dialogs/clustering-dialog.js
+++ b/main/webapp/modules/core/scripts/dialogs/clustering-dialog.js
@@ -153,7 +153,7 @@ ClusteringDialog.prototype._renderTable = function(clusters) {
cluster.value = value;
parent.find("input[type='text']").val(value);
- parent.find("input:not(:checked)").attr('checked', true).change();
+ parent.find("input[type='checkbox']").attr('checked', true).change();
return false;
};
for (var c = 0; c < choices.length; c++) {
@@ -202,7 +202,7 @@ ClusteringDialog.prototype._renderTable = function(clusters) {
editCheck.attr("checked", "true");
}
- var input = $('')
+ var input = $('')
.attr("value", cluster.value)
.keyup(function() {
cluster.value = this.value;