Fix a bug in Alignmentoperator.