RT# 83044 - fixed so open empty batches not created on upgrade