Bug 1122657: Fixing logic to select gear for scaledown