I agree with mime. Due to the size of their brain, mantids couldn't possibly know about the further results/complications of any action. For example, when a mantis launches itself off a branch, it doesn't think about the fact that it could get hit by a twig, or snatched in the air. It just wants to move, and as with most animals with limited thinking capabilities, it is primarily ruled by instinct.