Fixed an edgecase in ident island code