Fixed bug in DELETE