Query does not need the table argument

As the query is table specific now, there is no need to use the table argument.