Or, is it possible that even a blind squirrel finds the occasional nut?
After all, for a trend to be a trend, most people to believe in it. The key as a contrarian is to ride that trend based on fundamentals until the mania phase.
Then it's safe to become a contrarian, as long as you keep your views TO YOURSELF - heaven forbid that you run against the crowd.