Fix issues with identifying max fields for a tuple index when input file contains empty elements
Merge pull request #44 from chapmanb/master

Fix issues with identifying max fields for a tuple index when input file contains empty elements.
Many thanks!