Zero length varchar params don't work unless a length greater than zero

I ran into an issue where a sql statement could be generated with a parameter type of varchar(0) which sql server didn't seem to allow.

Changing the minimum value to 1 seemed to fix the issue.