Somehow I don't really think it's the amount of passages... looking at the code context the "Nonetype" error suggests to me that it's checking for passage content for a particular passage when it doesn't exist (I hadn't thought to check if it exists first... but I can add a validation for that in subsequent updates).