Fix typo in alignment check