What you can do in this case is define the Quest with only 1 sub-quest at the start of the game, and use the add() function provided in classes.rpy line 171 to add sub-quests as the story goes along. This way the diary will only show what is in the quest dictionary at one time.