I don't have a great grasp on the objects involved, but wouldn't "instanceof Filter" or "BlockingFilter" be called for? (instanceof ElemHideBase gave me an undefined error, and I couldn't find any ElemHideBase objects in the project files)