Fix for bug 895441 - validing against scales_from being higher than scales_to