Heuristic for table type detection, further enhancement of parser