fixed incorrect unique attribute selection by default