Custom args bug

Only appears on Windows. Not sure why this wasn't noticed eons ago.