BooleanUnion Failure?

After BooleanUnioning the insole solid with an element I got this result:

The top brep does not show right. here is the file:

test.3dm (1.7 MB)

If I selBadObjects it does not get selected. Why does/did this happen?

Can we see the geometry before the Boolean operation?