Fixes to RDF detection grammar.