They were able to do that since they had database of IMIE for iPhones. So if they didn't have the IMIE info (say unlocked phone bought from retail channels), they didn't do so.
It'll be interesting to see if they can detect these new unlocked iPhones.