Dear Org developers, I filed a bug report in Emacs debbugs, but probably should have sent it here instead: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38599 The attached patch appears to fix the bug. Does it look OK? Thanks, Thomas