If that's the case it seems like a bug to me, but not in Essentials. In your case you should either get the unpublished or published variant of the document.
AFAIK this can only occur if something has changed in the existing security domains. Normally you should only get unpublished (in case you are in the channel manager editing content) or the published version if you are on the live site.
What is it you are actually doing in case you get the document in the incorrect state? Actions in the channel manager?