The insertion of the third polarizer (D filter) absorbs S light out of the pure H beam. The removal of S light spoils the perfect destructive interference that yielded zero V light. The D light that’s left is half V light with nothing around to cancel it. This uncanceled V light is what gets through the second filter.