fix the -> part of is_main_query()