Small fix to unbanning

This fix closes issue #18. Thanks to @piks for this.