fixed logic to mark pending_deletion, also cleanup cms call
fixed logic to mark pending_deletion, also cleanup cms call

gauravlall/oneops,okornev/oneops,lkhusid/oneops,lkhusid/oneops,okornev/oneops,gauravlall/oneops,lkhusid/oneops,lkhusid/oneops,okornev/oneops,okornev/oneops,okornev/oneops,lkhusid/oneops,lkhusid/oneops,gauravlall/oneops,okornev/oneops,gauravlall/oneops,gauravlall/oneops,gauravlall/oneops