..This is rather embarrassing. I used the parameter variable and the actual variable that I wanted to used went completely unused. Would static analysis catch something like this, I wonder? Would probably have to be really good static analysis.