Make collection limit work with collection_source=database
Remove stray pdb.set_trace()
Add access_keys and files to es-index-data script.