I didn't do it, you did it:
14.01.19 Added: Button bar, parameters "%S", "%R", "%P%S", "%T%R": Surround all names with quotes when user puts parameter in quotes, e.g. "%S" -> "name1" "name2" (32/64)
cmd.exe /q/c for /f in
("%S") do if %%f neq "Name" ...
equivalent to
(%S) do if "%%~f" neq "Name" ...
There may also be apostrophes in the name, which some programs interpret as quotation marks.
In any case, this is only indirectly related to the described bug with an unnecessary empty first value, extra spaces in front and the absence of a third value.