Small correction on my previous checkin

I made a small mistake on my previous checkin - I inverted two function calls. This checkin fixes that.