Also fix if/boolean bug when checking whether we should automatically register
Attach a file by drag & drop or click to upload