Updated filter query for hops