Bug fix: Filters wqere applied to the wrong SPARQL variable