Fix bug in issue #54

https://github.com/Contegix/cloudykangaroo/issues/54