Fix crash. Return on npos, not break.