Fixed incorrect CTraceFilterSimple implementation for Python