Blender Cryptomatte not support sub-object materials?

I am trying to get a cryptomatte out of blender into AE but I can not select materials if the object has multiple material ID’s.

Anybody else get this?

It works for me as intented regardless of having multiple material IDs. Can you share a problematic example .blend file?