Static indexes were all replicating to <system>

This fix ensures static indexes replicate to the correct target database
based on the replication destinations document.