Tracing filtering logic

Author: Maulik Patel