parser: handle sets with more than ten pages (fixes #47)