Revert a removed query