Added a WHERE conditional for DELETE statements