Well, it is predicated on the idea that more money is always better. Most of the assistance programs provide enough to stay alive with limited funds for anything else. Presumably, any job worth working is going to offer compensation significantly better than remaining idle and collecting checks. That is, in the provided pathological example, I would suggest the worker not take that job opportunity.
It is more about ensuring that a person receiving assistance can work as much as they are able without any concerns. Anything less than a totally smooth off-ramp to financial assistance is bound to create scenarios where the optimal strategy for a worker is limit their maximum compensation below the arbitrary financial cliff.