Bug: assumed every reference had alignments