Types returned not correct



This is my sample code(The sample code has no meaning). When i try to find the type of inside_cond variable, the type name is returned as string. How did it arrive at that case? When i tried it on the demo in the website the type returned was “?”. Any possible solution to this?

My query is

query = {type:"type", end:pos, file:file_name, depth:0}