Add ctx->rc check for each filter