Updated EntityFlagType due to https://www.drupal.org/node/2257811