As you can see I get a contentobjectversion as it should be.The object and the version itself is also correct, I can access the current content of all attributes correctly.
I get similar data for the current version if I fetch all versions of the object using contentobject->versions(false) and then check the data for the version that is currently edited.
Maybe a draft is only a draft with status 0 if it was stored as draft and the status 5 is simply for a toally new version? I have not checked any further as I spent already a considerable amount of time finding out why my code did not work as expected.At the moment my code works fine if I check for status equals 5 or 0 so I will leave it at that for now (unless you can point me to a better solution)