On Fri, Jan 4, 2019 at 4:43 PM Kaushal Modi <kaushal.modi@gmail.com> wrote:
I am also copying Matt Lundin as I believe that this commit[1] caused this regression.

If above looks good, I will go ahead the commit this patch with test, proper commit log, etc.

I went ahead and committed this fix to maint (and merged to master) as it did not fail any existing test: https://code.orgmode.org/bzg/org-mode/commit/34e5dcfb06800802a5e06f13340d646b6d829f04.