Fixed bug when running IN-query on strings with InMemoryAdapter

I had problems running IN-queries with strings against InMemoryAdapter. I have added a test and fixed the bug.

Thanks you for an awesome library!