Issue has been fixed in InDesign’s latest update, Id 13.1.
Please update your InDesign for the resolution of the problem.
Same here in Illustrator CC2019 and Mojave. This has been going on for a while. It's not program breaking, but it is annoying and slows things down while I'm hunting through a jumble of scripts.
An update would be super cool