Ensure in-memory evaluation of selector over NSArray has the same result
as generated SQL fetch.