"Ghost" orders showing in trade history

 

Sometimes I place orders using a different platform, and although they show up in the MT5 chart and the "Trade" tab in the Toolbox, I can't modify or delete them from Metatrader (it displays "Common Error" if I try to do it). No problems so far, as this behaviour is expected, as far as I know.

The issue is when these orders are cancelled from the other platform. They (usually) disappear from the MT5 chart, but I do have a few orders that persist in Metatrader, although they have expired already, and are not shown in other platforms that I use.

I have tried deleting configuration files and history folders from my MT Data Folder, but those orders are still restored from somewhere (which I assume is a cloud backup that I don't have access to).

Can anyone shed some light on how I can solve this problem? Thanks in advance for any insights.