It never went "full auto" but just double tapped about 4 or 5 times. Any ideas as to the cause and cure?
There are a number of things that can result in doubling,
One of them is the ammo, high primers or too soft primers can result in a slam fire. However, bad ammo tends to be in bunches and the likelihood of a soft primer or high primer being the second round, and only the second round "4 or 5 times" is rather low. I would not put "bad ammo" at the top of my list, based on your description.
Inadvertent "bump firing" is possible.
Some issue with the engagement between the hammer, disconnector and trigger are the more likely causes. This can be due to incorrect tolerances, wear, and/or something changing the normal movement arc of the parts.
First thing to check is easy and external, check the hammer and trigger pins to see if either has "walked out" Incorrect assembly of the lower group can allow them to do that, and that can change things enough to allow the gun to double, or even run away continuous full auto fire. Pins flush? move on..Pin sticking out? find out why and correct it.
engagement surfaces.. hammer and disconnector, hammer and trigger. Many AR lower parts were made from "sintered metal". They have a hardened surface at the contact points but below that the metal is rather soft. IF that original hard surface is worn through (or polished through by some amateur "trigger job) wear of the softer metal is rapid, and when things wear enough, malfunction will result.
Something causing the disconnector to "stick" and not catch the hammer is possible. If the hammer follows the bolt carrier down it USUALLY does not fire the round. But, it might, and that MIGHT account for doubling. And it could be an intermittent problem. Not high on my list but not impossible.
One important detail needed to help diagnose the problem from a distance, did you fire the round and the next round fed in fired immediately?? Or did it go off when you released the trigger prior to the next trigger pull??
Cycle the gun empty repeatedly with the trigger held back, then released if at any time the hammer falls, its a gun, not an ammo or shooter issue.
The fix is to replace the bad parts. Knowing which are the bad parts, and why, is the trick.
Hope this helps,