Added filtering to risearch sparql queries such that only active results
are returned.