On the stability of portfolio selection models