What you say sure makes sense and what I am doing. However, the value of req is different between the two calls.
As I was typing the above line, I realize that for some reason, I was modifying the req.data field in my beforeRender call, which screwed up the value.
Fixed that and all is working as it should, my bad :(