alinghash does not move comments correctly

@jonas054 @bbatsov mind taking a look at this?