Resolved bugs with std::find