Merge pull request #309 from TwoStone/fix-nil-values-in-field-path

fix: handle nil values in field path and update tests