This is a bit strange to read. Why don't you just set `der=1` at line 1371, and then simply return it here?