Null tests in alignment loading code