If it was running and driving fine, it was likely wired up correctly. Technically, it really doesn’t matter where the wires go on the distributor so long as it fires at the correct time. I suspect you either had your timing light hooked up the the wrong lead when you checked the timing. I recommend using a timing light over setting the timing with a vacuum gauge for better accuracy. Additionally, you might also check for timing chain slack.