For a test case see here: https://www.klayout.de/forum/discussion/2194/extract-resistor-issue#latest Looks like the extended* functions on edges create shapes not compatible with deep mode in general.