This allows threadID that is present in database but not redux. This will help while debugging - instead of an error that cannot read messageIDs of undefined we will have a more readable message, having information on which keys are different. Is it an issue for one key and e.g. it was not removed from DB while needed or there is some issue and redux-persist state was purged.
Depends on D7611