Fixes #1704 Banned IPs not being blocked

Fixes #1704