Fix the maximum numbeer of quests.