Fix FROM clause with table list as comma separated string