Resetting the location as well when table is resetted.