Added support for EXISTS.