Fixed bug with empty-string flag values.