And that's the long overdue fix for bans (again: I broke them, I tried to fix them)

Signed-off-by: emanuele <emanuele45@gmail.com>
Undefined index in Admin logs - Thanks Road Rash Jr. for the report

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #463 from emanuele45/ban_fixes

Ban fixes