I’m holding my breath till I hear you drove it, but thats pretty impressive of a fix if thats the case. My head would have exploded in an attempt to comprehend whats going on and whats wrong.
When you put it back in, make sure you attach the reverse lockout.