I usually primary everything for about a month, so if you racked to secondary after a month for a period of 2 weeks, I think that is perfect. Still need to condition in the bottle for about another month, but I think you'll be fine.
I rarely use secondary, try this experiment, next stout you brew try an extended primary, do the 6 weeks just in the primary and see if there is any difference, even if you racked onto coffee, try adding it to the primary.
I only use secondary for fruit beers or other items that may actually cause a second fermentation. I even dry-hop in the primary.