KRACOEUS-8556: Refreshing document pessimistic locks to make sure the document is in sync with the db.

This isn't the most ideal fix, as it doesn't fix the underlying issue.  But will resolve the blocker.
@jwillia, I debugged all the way through and eventually when landing on the attachments page the only lock in the db is the newly created lock for the narratives.  So it's not getting rewritten back into the db.