Bug in BatchScrapMachine fixed