It turned that transformer was indeed the cause of all trouble. I've used `SyntacticBlock` in combination with `copyAttrs` not taking into consideration the fact that `SyntacticBlocks` can collapse on single-element input causing `copyAttrs` copy stuff into a wrong tree.