all queries except q11, q17 working with multimap