All received messages are marked on server as downloaded when sending any message
Immediately after sending a message the list of sent messages is downloaded. Apparently this operation causes all received messages to change their state from 4 to 6 although no received messages (lists) are actually downloaded.
The solution would be just to insert the sent message information into database with state 1, no dates or data shall be inserted. These will be inserted when initialising update message lists operations.