Fix search for new bans table