For all the scanner knows, a buddy passed you his ticket after entering. They did their job. No reason to complain IF the fault lies with the customer.
I do not know the facts on this case so I stress the IF. There are a whole lot of reasons why they need to be this strict with measuring the coming and going of the crowd and only part of it is ticket sales.