Fixed an issue where cross refs where interpreted as figure refs.