Input the collection.xml after the modules.
This is because the collxml_shred postgresql function is triggered when
a collection.xml document is added. The function needs access to the modules
in order to making the id mappings in the tree table.