Add comment about checking for query flag