Hi Ted, I test the code and I think it works fine for me.
I'm using Adapt authoring tool v0.3.0 / Adapt Framework v2.2.1 / theme adapt-contrib-vanilla