Fixed deletion issue in iOS 8