Tidy up enum matching where classname is missing

This was causing a constant blue changed status for file since the enum matching differed (https://www.evernote.com/shard/s6/sh/7a28b633-e5d4-4b89-947b-19ebaf46084a/f0ff79c9e7aeca03e63dd9515447bd5e)