Fixed broken delete statement