I think the way you need to code it is to make gambler trigger the night action of only the person they visit. Thus dreamer won't get the unnecessary report (since they had been visited) yet gramps and granny still work properly. And maybe you want to make an extra rule for tricksterer so they don't give an extra item if visited by gambler. I think everything should be fixed that way
I mean you fixed *that* but you created a few other bugs. Gambler doesn't die to granny anymore (neither when visiting nor when successfully killing them) also if gramps is visited by gambler I bet they don't get a report on the gambler visiting them since priest doesn't get a report either anymore.
That's a gambler bug which exists since the implementation of the role. It causes gambler to trigger passively activated night actions again (like priest, dreamer, trickster, forager). Also lazy cop since he chooses his target the night before. I'm wondering if this also occurs when someone else was visited by queenbee.