This improves commit bd4b4781 There is a second place where this fix is needed.
Attach a file by drag & drop or click to upload