ParamLine_Length_mod: properly handle empty input