Kenny MacLeod - 2012-11-27

Suggested patch to fix issue