Fix wrong usage of std::string::find

Wrong argument order in find:
http://www.cplusplus.com/reference/string/string/find/