added missing documentation about the NOT operator in Query

fixes #5147