Fix nullNumber and nullText parameters in tlist_to_table

nullNumber and nullText parameters in tlist_to_table were overwriting
every value because of a missing condition.