Empty menu sequences are now represented by a CA version, which inherits from the base EmptyMenuSequence. To make both versions work fine, we have to check their inheritance.
This should fix ATR-28415. Tagging @sshaw (fixing the first error that you see, but then there are others...)