Fix validation of preset.