Fix for Linq to SPARQL transformation with Take used in certain conditions.