Does this work if the pattern has nested enums? (Can you even have nested enums in patterns?) Does it not work to use collected_paths in the same way I do with variables?