Fix bug where positions were not being added to portfolio nodes when in multithreaded position writing mode.