Fixes bug when the table name was ignored