Fixed validation error when using optional arguments.