If these are created by Electrum clearly something IS wrong, look at the transactions... and come back again to agree with me
Both of them look perfectly fine. Which 'issue' do you see in those transactions ?
1st transaction:
1 P2PKH input -> 1 P2SH / P2WSH output2nd transaction:
1 P2PKH input -> 1 P2SH output (can't be said whether nested segwit or multisig yet)