When you sold it, you were supposed to tell DVLA of the sale (online is the easiest). To do it online you need the reg number and the 11-digit ref number off the V5 (log book).
I'm guessing you didn't do that, so if the buyer didn't register he'd bought it, the DVLA will quite naturally assume...