Opposite order.  TrenderCounter.delete_all needs to be first to avoid FK violation.