Fixed an issue with the default value causing invalid argument validation

Fixed an issue with the default value causing invalid argument validation