Fix regression in text-based reference list recognition