Ran into the situation where I placed unloaders instead of loaders. Used an upgrade blueprint to replace the unloaders. this caused 2 issues.
1: A bot tried to replace the unloader while a train was present. this caused a non-recoverable error.
2: When there is no train the upgrade works, but deletes all the contents.