Fixed multiple orbs being exported bug.
Added test proving issue.