Strings::findPrefix: fixed bug