Fixed a bug in IP bans