Bug 1032123

Thanks for spotting that. I've updated with your suggestion and tested successfully.