Pooja: should not delete open batch
Pooja: adding between condition at the model level