Fixed bug with std::find