Do not load unknown flags from bytecode

This is a kind of principle of defensive programming.