Guard against falsy schema when type checking