calculate inactive bans correctly