I think on amazon its really a gamble.
You could me lucky and recieve an old unit, or a new one with firmware >=5.x
Additionally if you buy a regular 3DS not the XL version, there is a higher chance of getting an old unit
I would suggest to be sure, to go into a store and ask if you can view...