Query s tmp AHC consistent