Fix asserts typo in enum