Update handling of no-default values

Ensure proper functionality when no default values are specified.