Remove unused datagrid query.