merged fix from https://github.com/jkitchin/org-ref/pull/32