Hey there. No, I don't believe CP and CNR to be dogs. They're simply cyclical stocks at what I would call a possible economic bottom.
Rails are heavily focused on the economy, arguably more than any other industry in North America. When times are good, they'll outperform, and when times are bad, they'll underperform. The good news is the economy is typically in cyclical uptrends more than it is downtrends.