Fixing a bug where the ranges weren’t exported properly