Ensure that even if the user specifies an empty array, we still always at least produce a single editable line.