Can I filter a player based on whether they can be damaged by a weapon slot?

Namieo

L1: Registered
Mar 3, 2013
23
4
filter_tf_damaged_by_weapon_in_slot exists, but it doesn't seem to work right for my purposes. Whether or not TestActivator returns pass or fail seems to depend entirely on whether the filter I'm testing is set to negate the outcome or not, passing if it isn't and failing if it is. The same situation occurs when I try to use said filter on a trigger_melee.

I need to be able to tell if a player is able to be damaged by primary, secondary, and/or melee weapons, mainly to get around an annoying restriction with a plugin that disables certain players from taking PVP damage for the sake of a tutorial, but doesn't block them from capturing a point. Thank you for your time.