Corrige o problema de identificar o "rid" do xref (bibr)

Fixes #1082
Merge pull request #1096 from robertatakenaka/tk_1082

Corrige o problema de identificar o "rid" do xref (bibr)