Fixed handling of DELETE requests