getQuery can only return a WebGLQuery object or null

I'd like a review on this one. My reading of the ES2 spec suggests that this can only return the name of the currently active query target, or null.