Max archived files default value 0

I hope this fixes #111 and #24 (at least my added tests are working).