Modified version tested successfully with Inkscape 0.91 r13783 (HEAD of stable release branch <lp:inkscape/0.91.x>) and the provided test case.
Modified version tested successfully with Inkscape 0.91 r13783 (HEAD of stable release branch <lp:inkscape/0.91.x>) and the provided test case.