added filtering on query when adding element from cache to adapter
results