That's right. Here we don't even check the result of query.exec().
But I like crashes, because if ID still existed it would mean that problems in removeItem(id) slipped through unnoticed.