Edit: Finally I found I solution. When I exported the addresses (not the private keys), did I get all of the transactions. Anyone got an answer for this?

Electrum will import the legacy address (
P2PKH) derived from the private key by default.
If some of those addresses aren't legacy, you'll have to add a prefix when importing the keys to Electrum.
Using this format (
will show when you click 'info'):
