fix event query bug, prevent it from affecting other queries (nav menu bug)