Fix atomType check by checking atomType.label