So I thought I might try building up my own thing that closely resembles your setup, testing the limits of some of the functions, thinking that I'd stumble across an answer, but I never encountered a problem. So then I tried just copying what you have word for word, and I still don't get a problem. No type mismatch. No error.