Specialdatasearch query speed

the problem was not counting the number of results,
but was linked to when a collection is added.
A straight-join performs faster.

Change-Id: If0868249fa7877fcce5c7354b4e749cc7f060770