Small fix

Updated the logic of putting fks of table into map, only when the size
of fks is larger than 0, then put it in to fkNamesOfTables.