Update .gitignore
refactor of (get-subseries)

Push some logic up into the let