Fix security retrieval from engine
The call to MyMoneyFile::currency() not only returns currencies but also securities. This was broken due to a recent change.
BUG: 390979