Finding that the SWIG std::vector wrapper is not actually working.
Telling SWIG to think 'long long' instead of 'int64_t' for IntVector seems to make it work again.
Fixing MergedReferenceStructure to actually do its work again. All Scala tests pass.