Last Term omitted

The last 'Term' element was parsed but the collections were not added to the dictionary.
This fix may not be the best solution but solves the problem. 

Thank you for the code.
Merge pull request #11 from mmendez12/patch-1

Last Term omitted