PMO-2710 Fix equals() - should allow Batches to be renamed.