This fixes the case where the parse stack is split and the top states have different valid lookahead symbols