Fixing bug 1225

--HG--
extra : source : 7f0310c15aafbaae56932a5783f24f5a89d97c4d
Merge pull request #410 from einhverfr/master

Fixing bug 1225