Fix #6: Don't use enum values as bit flags

... and even if they were bit flags, or-ing them and checking for equality would
still be stupid.