Fix level enum checking

No match.