Changed parent class to BaseNodeFilter