Fixed bug in Alignment.equals