Can you please paste lines of code where you query for orphaned vmdk's ?
as i do not know in what way are you cheking this, it's hard to answer that question, i had quick google to see how people are writing scripts for that, and if you are doing it via ds browser you might need this one:
Datastore.Browsedatastore
as mentioned in :
Regards,
Greg