Fixed a bug which ignored the banning settings