Re-implemented path filtering for lifeline.