Just FYI, it looks like your original transaction was caught out by the sudden spike in unconfirmed transactions and resulting spike in transaction fees that you can see here:
https://jochen-hoenicke.de/queue/#1,24hEven though the fee estimation in Electrum is pretty good, sometimes you'll get surges in activity like this that will catch you out. It's always worth a quick look at a couple of other sources for unconfirmed transaction counts and current fee levels just to see if anything is happening:
I usually sanity check what Electrum suggests against:
https://jochen-hoenicke.de/queue/#1,24hhttps://btc.com/stats/unconfirmed-tx