Many thanks to @Plasma that spotted this problem reviewing the code.
Attach a file by drag & drop or click to upload