Fixed a bug where it thought all enum's were redefinitions