fixed URI detection in a StatementPattern