Logical flaws are fine. In fact, without logical flaws, comedy proabably couldn't exist. When you get into trouble is when your logical flaws seem to serve no purpose but set up the punchline -- and are completely unbelieveable or inconsistent with your comic reality otherwise.
And if that little daitribe didn't kill any sense of humor or mirth, I don't know what will.