#722190 by bjaspan: avoid infite recursion in filter_list_format() even if the database has broken data under Drupal