Partition lists when needed

Fixes #1022 
I think you meant to use `pathAdded` here?