Uniq array, fix frontend search