Fixed bug in RTM demo page. Closes gh-833