std::find MUST have a non-empty vector, turns out

fix a few crashes in AI/pathing/stuff that i added recently