They seem to do this randomly. Two years ago the line for the scanner was unbelievable but they stopped scanning eventually and everyone just passed through. Someone in line said it's common when a Copa flight arrives but not sure if that was accurate or not.