Patch fix for the multiple last checkpoints issue
Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
* Patch fix for the multiple last checkpoints issue. Reference: https://github.com/PyTorchLightning/pytorch-lightning/issues/11451 