Fixed an issue where the number of secrets would go over the number of total secrets (see: t1_surprise, which has no number of total secrets defined)