They probably had a tip thus the scanner. Many countries XRAY luggage prior to letting you leave the secure customs/immigration area. Buenos Aires, Argentina, Santiago, Chile, scan all arriving luggage, Mexico City if you get the red light. Certainly not too common but it is being done.