Invalidate session after install and remove useless triple constraint on NS