26015 fix changes pending field

Provide a correct value for changes_pending in replication task statuses.