Adding a query to reinitialize the ID