Bug fix in setKeysInterpolation + change assert for booleans params