[[ Bugfix 14066 ]] Export empty ranges if they have attributes
Merge pull request #1571 from runrevfraser/bugfix-14066

[[ Bugfix 14066 ]] Export empty ranges if they have attributes