Fixed $id in readAllOrders()