MULE-7293: Added debug information and replaced List by Set+Comparator.