Fixes duplicate enum value in state