Fixed FlagListController WSOD due to https://www.drupal.org/node/2346779