BatchDecomposition correction in canDispose loop