Improved batch_hopper_lot hopper uniqueness validation