Make sure that investment and ledger view are synced
This amends the last commit to completely bring back the old functionality.