Fix company deletion in portfolio