The first under-the-door payoff wasn't very funny, but provided a necessary set-up for the second, which was then quite amusing.
But I don't much care for the suffering of misfortune by the various characters, in this or in other episodes. They're nice girls and nice things should happen to them.