Minor bug solved in class.is_class function