do not run an EXISTS query immediately before a VALUE one