Fix the scale_used_anywhere function.