fix filtering bug in logapi.loggers command.