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