Well, the TSM109 was discontinued a long time ago. But it does indeed have open-collector outputs, which are better suited for low-active driving.
In fact, the most sensible thing to do is to add the pull-up resistor mentioned above, which retains the logic.
You could also replace the 2N7002 with a p-channel MOSFET, which then inverts the whole logic, but you still need the pull-up resistor, now to turn off the MOSFET.
Good luck!
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.