Fixed print statement in BagScanner