Stability of spectral eigenspaces in nonlinear Schrodinger equations