dead people filter
That might work, but maybe it's also being firm and not simply ignoring them, but actively trying to nudge them on? Not like a banishment to Hell or something but visualizing them disappearing and leaving you alone - it's your power and there's obviously a time and a place for it, and you get to decide.
It might take some time but I definitely learned to stand my ground with them.