Classic joke, reversal of expectations. You have nothing to apologize for. Unless your delivery sucked, that is. Then again, issues involving children and sex have been a little too much in the news for this kind of humor to be without danger.

Hey, one of the rules of comedy -- sometimes, even when you do everything right, you die. Welcome to the club.