OAK-659 Move purge logic for transient changes below the NodeBuilder interface