Fix empty input fields in SWAT; [#5515].