Sanity check error with apostrophe

Fix a bug where sanity check incorrectly fails when there's an apostrophe in the deck name, due to the id() method finding the wrong parent deck and thus applying the wrong limit, leading to incorrect review counts