Fixed broken std::find statement, which was causing horrifying errors.