Style: we prefer an explicit comparison to `nil` here: `parentEntry == nil`