Fixed bug in orphanage.js when removing a very large number of orphaned documents.
Merge pull request #1 from jonrangel/master

Fixed bug in orphanage.js when removing a very large number of orphaned documents.