Got AND queries working for in-memory results