Fix ReferenceSequence AnP Assignment

This fixes the model tests broken by #190.  It also adds a test case that covers the original change.