Handle expired bans correctly. Fixes BUKKIT-5541