The SQL delete queries are not working for some reason.