By pure chance the macro worked in the cases it was used, but better to get this fixed!
Attach a file by drag & drop or click to upload