Handling delete condition.

Signed-off-by: JerinJ <jerinj@cybage.com>