Fixed RDF::Query::Algebra->subpatterns_of_type to support descent into sub-queries.