ifFoundForAll sometimes called when not defined, added condition in core
Query