Statechart Checks : (C1035) Default transitions with illegal targets

(C1035) Default transitions with illegal targets

There are transitions whose source is a conditional connector or a history connector, and whose targets are not descendants of the state in which the source connector resides.
Error In:
Correctness
Example:
In the following figure, there are two possible default states when entering S1. One entrance leads to S3 (which is a substate of S1) and the other leads to S2 (which is not a descendant of S1 and is therefore an invalid transition).
Erroneous Elements:
Components of the erroneous transitions