Commit "Prevent overwrite of assetAccountSplit" uncovered bug in
detecting right category for fee split when importing investment
statement. Bug is caused because of some assumptions and different
approach to splits order between manual transaction entering and
transaction importing.
MyMoneyFile::addTransaction adds buy transaction with splits in
following order:
- manual entering
brokerage split
fee split
stock split
- importing
fee split
stock split
brokerage split
This patch unifies two approaches and makes it working for already
imported transactions.