Fix FieldPath bug in Document.getNestedField

Fix bug in use of `FieldPath` in `Document.getNestedField()`