Added “clearcache” query and replace all newlines in BibTeX values beforehand.