[DEBUG] Removing duplicate scales

Verifying that the scales list does not contain duplicate values.