Issue #2766315 by recrit, DamienMcKenna: metatag_entity_type_enable() would incorrectly change settings in certain circumstances.