Fixed position.getShares().