This block can now be reverted because `getCurrentNode` is `@Nonnull`.