Some remarks on semistationarity and optimality conditions