Fix: call setValue() in any case

Note: Use getValue() always in combination with isValid().
Only when isValid() returns true, you can safely use getValue().