Fix for #324 - also: fix for a small bug - the citation cache throwing error when there were no data in the citation field (to build the cache from)