Quick fix on delete sql query