If I query like below it returns the document as expected. I also know that firestore query return results only when full object matches.
return firestore()