FIX - A potential situation where qrcodes wouldn't get regenerated properly, and it would continue to dump extranious records into the database