fix for range field treated as number field