Revert state query.