Fix error where object might be None