Fix casting error in WhenAny shim