Fix saveAll empty list error
Merge pull request #297 from krazemon/saveall

Fix saveAll empty list error