Bug fix for range validation type