Quick (and dirty) fix to ensure that no duplicate alignment checks are inserted.