Ensure bibliography references are picked up correctly

Suggested-by: ichpuchtli