Don't crash with no attribute set in graduated renderer