I am also getting this issue. I may just end up casting to the variable instead of getting it but it is rather inelegant.