Actually I think it is ok (but worth commenting) - because prevProcessState will have no ids at this point, since they are removed when they are inherited.