Updated conditional in type checking.