Fixes #1248 Banning via Profiles doesn't work

Fixes #1248 Banning via Profiles doesn't work