Fixed small bug that could lead to an xml file not being fully exported.
Merge pull request #34 from ElmoArmy/devel-elmo

Fixed small bug that could lead to an xml file not being fully exported.