Fixed bug in the DELETE method