tundra.tn:derive - fix class cast exception bug when deriving and amending more than one copy of a bizdoc