move declaration of MagicPTTargetFilter after the other filters as it references them in its constructor, if a filter is referenced before it is delcared the value will be null