Fixed a couple of bugs in the interactive shortcodes.