Fixed bug when running IN-query on strings with InMemoryAdapter