Activity "Insert DataTable in Document" inserts table in beginning of the document instead of replacing my text with the table

Hello
I’m replacing some text with table using activity Insert DataTable in Document.
Most of the time it works right.
But sometimes it inserts table into beginning of the document.
How can I fix it?

May the issue be that my text is cyrillic?

Hi @Viktoriya_Anisimova

Could you maybe provide us with a sample, new project that reproduces the issue when run (and includes a sample Word file that causes the issue)?
This would help us debug it and get it fixed (in case it is a bug).