Added several checks on deleted cluster to prevent error logs

Change-Id: I8f867d7cc89abbdf407a170344be062f00ed50a2
Closes-Bug: #1274739
Closes-Bug: #1286391
Merge "Added several checks on deleted cluster to prevent error logs"