Fixed migration hang issue. Removed max backup count calculation.