Improved behaviour of parameter factories with empty strings.