Small change in isDwarf()