Fixed some more bugs in bibtex conversion