Widget limit of 0 is defaulted to 50

I'd like to be able to set the widget limit to 0 in some circumstances; the current logic would cause a limit of 0 to be overridden with 50.