Reset data when it comes to a new query