Fix context.StatementRef