How to prevent movement if BOT can't move to a high point?

As I understand it, the path is built on all planes of navmesh in space. But how to prevent it?

I use variable “HasPartialPath” to prevent it.