When reminders are deleted, the counting mechanism doesn't really count actual number but takes latest record index.
Case 1:
Was: 10 record, latest index = 10
After deletion all records apart from first with index 1: 1 record, latest index = 1
When added new record: 2 records, latest index = 2, but should be 11 as record ids should be unique
Case 2:
Was: 10 record, latest index = 10
After deletion all records apart from last with index 10: 1 record, latest index = 10
When query # of reminders, it will show 11, but should be 2
When reminders are deleted, the counting mechanism doesn't really count actual number but takes latest record index.
Case 1:
Was: 10 record, latest index = 10
After deletion all records apart from first with index 1: 1 record, latest index = 1
When added new record: 2 records, latest index = 2, but should be 11 as record ids should be unique
Case 2:
Was: 10 record, latest index = 10
After deletion all records apart from last with index 10: 1 record, latest index = 10
When query # of reminders, it will show 11, but should be 2