Fixed up some code for making alignment objects from survey