AudioProcessorValueTreeState undo with no transaction

I’m using the AudioProcessorValueTreeState in combination with a UndoManager. I’m adding 2 parameters using the createAndAddParameter() function. When I’m doing an undo right after the program started up, without starting any new transaction, I get this assertion from the UndoManager:

if (reentrancyCheck) {
   jassertfalse;  // don't call perform() recursively from the UndoableAction::perform()
                  // or undo() methods, or else these actions will be discarded!
   return false;

The program still runs correctly. It seems that the recursive action is trying to add the parameters I added earlier again to the value tree.
When I clear the undo history after program initialization, everything works as expected. Anybody also having this problem?