Fixed transaction handling for a number of operations on related objects...

.... Refs #21174.