Fix a bug.

When an intersection is below the "Remove" event, the corresponding
sweep node is already removed. So we have to check it to avoid accessing
NULL pointer.