Fixed next sales orders for branch occurrence retrieving