Fix for issue #31

Fix for this issue: https://github.com/dre1080/warden/issues/31