Fix possible problem with int dtype in get_point_group