Stop when 2 trace hit

Hello everyone! I’m trying to make ledge climb, but I’m stuck when the wall tracking and ledge tracking touch together, the character will stop.

Please give me some hint or solution :(((

![alt text][2]