Depends really, if the pass isn't directed to him, nor gets in contact with him, it shouldn't matter.
But yeah, it's riddiculous. But that's where the limit of electronics come in. A human referee could make the distinction but the computer only registers Passes and Shots.